/*
 * This file is part of ksPlatform
 * 
 * Copyright (c) 2014-2015
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at 97041437@qq.com.
 */
package cn.com.ksplatform.modules.autocode.dto;

import java.util.Map;

/**
 * ClassName:Column.java <br/>
 * Date: 2015年11月2日 <br/>
 * 
 * @author Mr.Xiao
 * @version 1.0
 */
public class Column {
	private boolean pk;
	//名称
	private String name;
	//含义
	private String coment;
	//数据类型
	private String dataType;
	//长度
	private Integer len = 30;
	//是否为空
	private Boolean notNull;
	
	
	private Map<String, Object> propertys;
	private Map<String, Object> events;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getComent() {
		return coment;
	}
	public void setComent(String coment) {
		this.coment = coment;
	}
	public String getDataType() {
		return dataType;
	}
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
	public Integer getLen() {
		return len;
	}
	public void setLen(Integer len) {
		this.len = len;
	}
	public Boolean getNotNull() {
		return notNull;
	}
	public void setNotNull(Boolean notNull) {
		this.notNull = notNull;
	}
	public boolean getPk() {
		return pk;
	}
	public void setPk(boolean pk) {
		this.pk = pk;
	}
	public Map<String, Object> getPropertys() {
		return propertys;
	}
	public void setPropertys(Map<String, Object> propertys) {
		this.propertys = propertys;
	}
	public Map<String, Object> getEvents() {
		return events;
	}
	public void setEvents(Map<String, Object> events) {
		this.events = events;
	}
}
